package com.easydisk.file.model.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class CheckShareCodeReq implements Serializable {

    /**
     * 分享id
     */
    @ApiModelProperty(value = "分享id", required = true)
    @NotNull(message = "分享id不能为空")
    private Long shareId;

    /**
     * 分享码
     */
    @ApiModelProperty(value = "分享码", required = true)
    @NotBlank(message = "分享码不能为空")
    private String shareCode;

}
